#include <iostream>

int main(void)
{
    using namespace std;
	double daphne = 100.0;
	double cleo = 100.0;
	int nits = 0;
    while (daphne>=cleo) {
		daphne +=10.0;
		cleo*=1.05;
		++nits;
    }
    cout << "years: " << nits << endl;
	cout << "daphne: " << daphne << endl;
	cout << "cleo: " << cleo << endl;
    return 0;
}
